package com.example.myweb.Service.Auth;


import com.example.myweb.Domain.Entity.User;

public interface LikeService {
    /**
     * 点赞一个目标
     * @param targetType 目标类型 (article, dynamic, comment)
     * @param targetId 目标ID
     * @param currentUser 点赞的用户
     */
    void likeTarget(String targetType, Long targetId, User currentUser);

    /**
     * 取消点赞一个目标
     * @param targetType 目标类型
     * @param targetId 目标ID
     * @param currentUser 取消点赞的用户
     */
    void unlikeTarget(String targetType, Long targetId, User currentUser);
}